#include "Byte.h"


Byte::Byte()
{
	data=0x00;
}
Byte::Byte(unsigned char d)
{
	data=d;
}

void Byte::set(unsigned char d)
{
	data=d;
}
unsigned char Byte::get()
{
	return data;
}

BitPointer Byte::getBitPointer(unsigned int i)
{
	return  BitPointer(&data, i);
}

BitPointer Byte::operator[](unsigned int i)
{	
	return getBitPointer(i);	
}
